﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WeiboPlus.Models;

namespace WeiboPlus.Service
{
    public interface IAccountManager
    {
        SNSAccount GetAccount(int accountID);

        IEnumerable<SNSAccount> GetAllAccount();

        bool ContainsAccount(int id);

        int Count();

        void RemoveAccount(SNSAccount account);

        void RemoveAccount(int accountid);

        void Remove(Func<SNSAccount, bool> filter);
    }
}
